import turtle t = turtle.Pen() def ośmiokąt(rozmiar): for x in range(1,9): t.forward(rozmiar) t.right(45) turtle.done() ośmiokąt(100)